<!DOCTYPE html>
<html data-ng-app="">
  <head>
	  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>数据展示</title>
		<!-- Bootstrap -->
		<link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
		<link href="../vendors/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
		<!-- Font Awesome -->
		<link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
		<!-- NProgress -->
		<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
		<!-- Custom Theme Style -->
		<link href="../build/css/custom.min.css" rel="stylesheet">
	  	<!--项目启动css文件-->
	  	<link href="../css/projectstart.css" rel="stylesheet">
		<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">


		<!-- 外部js文件引用-->
	    <script src="../vendors/jquery/dist/jquery.min.js"></script>
	    <!--内部js文件引用-->
	    <script src="../vendors/angular/angular.min.js"></script>
	    <script src="../../app.js" charset="UTF-8"></script>
	    <script src="../datatable/bootstraptpls.js" charset="UTF-8"></script>
	    <script src="../services/online_testService.js" charset="UTF-8"></script>
	    <script src="../services/develop_processService.js" charset="UTF-8"></script>
	    <script src="../controllers/projectstart_controller.js" charset="UTF-8"></script>
	    <script src="../services/projectstart_Service.js" charset="UTF-8"></script>
	    <script src="../services/online_deliveryService.js" charset="UTF-8"></script>
	    <script src="../services/acceptanceService.js" charset="UTF-8"></script>
	    <script src="../controllers/project_selectcontroller.js" charset="UTF-8"></script>
	    <script src="../filter/filter.js" charset="UTF-8"></script>

		<script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
		<script src="../vendors/fastclick/lib/fastclick.js"></script>
		<script src="../vendors/nprogress/nprogress.js"></script>
		<script src="../vendors/jQuery-Smart-Wizard/js/jquery.smartWizard.js"></script>
		<script src="../vendors/raphael/raphael.min.js"></script>
		<script src="../vendors/morris.js/morris.min.js"></script>
		<script src="../vendors/iCheck/icheck.min.js"></script>
		<script src="../build/js/custom.min.js"></script>
		<script src="../datatable/h5Charts.js" charset="UTF-8"></script>
		<script src="../datatable/H5Draw.js" charset="UTF-8"></script>
  </head>
  <style>
	.body {font-family:sans-serif;}
	#donetestcases{border:solid 1px #E9E9E9;}
	#addbugs{border:solid 1px #E9E9E9;}
	#validbugs{border:solid 1px #E9E9E9;}
	#requirementdone{border:solid 1px #E9E9E9;}
	#codenumsubmit{border:solid 1px #E9E9E9;}
	#costtime{border:solid 1px #E9E9E9;}

	.confirmModal .modal-content {
	  width: 450px;
	  margin-top: 40%;
	}

  </style>
  <body data-ng-controller="ProjectStartController">
	  <div style="float:left;width:100%;height:166px;border:0px solid #999;background-image:url(../images/项目启动/bg.png);">
		  <div style="float:left;width:1306.25px;height:20px;border:0px solid #999;"></div>
		  <div style="float:left;width:55px;border:0px solid #999;"></div>
		  <div style="float:left;width:1249.25px;height:144px;border:0px solid #999;">
			  <div style="float:left;width:160px;height:52px;border:0px solid #999;text-align:center;line-height:50px;font-size:20px;font-weight:800;color:#FFFFFF">{{showProjectName}}</div>
			  <div style="float:left;width:1087px;height:52px;border:0px solid #999;"></div>

			  <div style="float:left;width:50px;height:23px;border:0px solid #999;"></div>
			  <div style="float:left;width:70px;height:23px;border:0px solid #999;line-height:24px;font-size:14px;color:#FFFFFF">项目经理 :</div>
			  <div style="float:left;width:80px;height:23px;border:0px solid #000;line-height:22px;font-size:14px;color:#FFFFFF;text-align:center;">
				  {{showProjectManagerName}}
			  </div>
			  <div style="float:left;width:150px;height:23px;border:0px solid #999;text-align:center;line-height:24px;font-size:14px;color:#FFFFFF">项目启动时间 :</div>
			  <div style="float:left;width:100px;height:23px;border:0px solid #000;line-height:22px;font-size:14px;color:#FFFFFF;text-align:center;">
				  {{showStartDate | date:'yyyy-MM-dd'}}
			  </div>
			  <div style="float:left;width:796px;height:23px;border:0px solid #999;"></div>

			  <div style="float:left;width:50px;height:23px;border:0px solid #999;"></div>
			  <div style="float:left;width:70px;height:23px;border:0px solid #999;line-height:24px;font-size:14px;color:#FFFFFF">测试经理 :</div>
			  <div style="float:left;width:80px;height:23px;border:0px solid #000;line-height:22px;font-size:14px;color:#FFFFFF;text-align:center;">
				  {{showTestManagerName}}
			  </div>
			  <div style="float:left;width:150px;height:23px;border:0px solid #999;text-align:center;line-height:24px;font-size:14px;color:#FFFFFF">预计结束时间 :</div>
			  <div style="float:left;width:100px;height:23px;border:0px solid #000;line-height:22px;font-size:14px;color:#FFFFFF;text-align:center;">
				  {{showEndDate | date:'yyyy-MM-dd'}}
			  </div>
			  <div style="float:left;width:796px;height:23px;border:0px solid #999;"></div>

			  <div style="float:left;width:50px;height:23px;border:0px solid #999;"></div>
			  <div style="float:left;width:70px;height:23px;border:0px solid #999;line-height:24px;font-size:14px;color:#FFFFFF">部署经理 :</div>
			  <div style="float:left;width:80px;height:23px;border:0px solid #000;line-height:22px;font-size:14px;color:#FFFFFF;text-align:center;">
				  {{showBuildManagerName}}
			  </div>
		  </div>
	  </div>
    <!-- 流水线展示 -->
    <div id="wizard_verticle" class="form_wizard wizard_verticle" data-ng-init="load0()">
	    <ul class="list-unstyled wizard_steps">
			<li>
			  <a href="#step-11">
				<span class="step_no" style="background-color:#00B47A;">项目启动</span>
			  </a>
			</li>
			<li>
			  <a href="#step-22">
				<span class="step_no" style="background-color:#00B47A;">研发过程</span>
			  </a>
			</li>
			<li>
			  <a href="#step-33">
				<span class="step_no" style="background-color:#00B47A;">在线测试</span>
			  </a>
			</li>
			<li>
			  <a href="#step-44">
				<span class="step_no" style="background-color:#00B47A;">上线交付</span>
			  </a>
			</li>
			<li>
			  <a href="#step-55">
				<span class="step_no" style="background-color:#00B47A;">验收环节</span>
			  </a>
			</li>
	    </ul>
		<div class="stepContainer" style="width:100%;">
		    <div id="step-11" class="content" style="width:1097.88px;display:none;border:none;">
				<h2 class="StepTitle">
					项目启动阶段
				</h2>
				<div style="height:30px;width:1097.88px;border:0px solid #FFFFFF;">
					<div style="float:left;height:30px;width:8%;border:0px solid #999;font-weight:900;line-height:25px;">
						项目名称
					</div>
					<div style="float:left;height:30px;width:80%;border:0px solid #999;">
						<input type="text" ng-model="newProjectName" placeholder="  项目名称" style="height:26px;border-radius:4px;" required/>
					</div>
				</div>

				<div style="height:40px;width:1097.88px;border:0px solid #FFFFFF;">
					<div style="float:left;height:30px;width:8%;border:0px solid #999;font-weight:900;line-height:25px;">
						项目启动日期
					</div>
					<div class="form-group col-sm-4" style="float:left;border:0px solid #999;height:30px;">
						<div class="input-group m-d">
							<input type="text" class="form-control" name="loanDate" datepicker-popup="{{format}}" ng-model="finance.loanDate" is-open="loanDate" datepicker-options="dateOptions" close-text="Close" readOnly="true" />
							<span class="input-group-btn">
								<button type="button" class="btn btn-default" ng-click="openDatepicker($event,1)">
									<i class="glyphicon glyphicon-calendar"></i>
								</button>
							</span>
						</div>
					</div>
				</div>

				<div style="height:40px;width:1097.88px;border:0px solid #FFFFFF;">
					<div style="float:left;height:30px;width:8%;border:0px solid #999;font-weight:900;line-height:25px;">
						项目结束日期
					</div>
					<div class="form-group col-sm-4" style="float:left;border:0px solid #999;height:30px;">
						<div class="input-group m-d">
							<input type="text" class="form-control" name="loanDate1" datepicker-popup="{{format}}" ng-model="finance.loanDate1" is-open="loanDate1" datepicker-options="dateOptions" close-text="Close" readOnly="true" />
							<span class="input-group-btn">
								<button type="button" class="btn btn-default" ng-click="openDatepicker1($event,1)">
									<i class="glyphicon glyphicon-calendar"></i>
								</button>
							</span>
						</div>
					</div>
				</div>

				<div style="height:60px;width:1097.88px;border:0px solid #FFFFFF;">
					<div style="float:left;height:60px;width:8%;border:0px solid #999;font-weight:900;line-height:50px;">
						项目说明
					</div>
					<div style="float:left;height:60px;width:80%;border:0px solid #999;line-height:10px;">
						<textarea ng-model="newProjectDes" style="height:55px;width:80%;resize:none;border-radius:4px;" placeholder="项目说明"></textarea>
					</div>
				</div>

				<!--此处产品列表需根据下拉框选择的产品动态增加-->
				<div style="height:30px;width:1097.88px;border:0px solid #FFFFFF;">
					<div style="float:left;height:30px;width:8%;border:none;font-weight:900;line-height:25px;">
						涉及产品
					</div>
					<div style="float:left;height:30px;width:10%;border:0px solid #999;">
						<select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedPro"
								ng-options="pro.productName for pro in allpros" ng-change="proChoose()">
							<option value="">--请选择--</option>
						</select>
					</div>
					<div style="float:left;height:30px;width:1%;border:none;"></div>
					<div style="float:left;height:30px;width:auto;border:none;text-align:left;line-height:28px;" ng-repeat="addedPro in addedPros">
						<button type="button" class="close" style="line-height:28px;" ng-click="delPros($index)">
							&times;
						</button>
						{{addedPro.productName}}
					</div>
				</div>

				<div style="height:120px;width:1097.88px;border:0px solid #FFFFFF;">
					<div style="float:left;height:118px;width:100%;border:0px solid #999;">

						<div style="float:left;height:28px;width:100%;border:0px solid #999;">
							<div style="float:left;height:28px;width:8%;border:none;text-align:left;line-height:28px;font-weight:900;">项目经理</div>
							<div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
								<select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedPM" ng-options="pm.name for pm in allpms">
									<option value="">--请选择--</option>
								</select>
							</div>
							<div style="float:left;height:28px;width:1%;border:none;"></div>
							<div style="float:left;height:28px;width:auto;border:0px solid #999;text-align:left;line-height:28px;">
								{{selectedPM.name}}
							</div>
						</div>

						<div style="float:left;height:28px;width:100%;border:0px solid #999;">
							<div style="float:left;height:28px;width:8%;border:none;text-align:left;line-height:28px;font-weight:900;">开发人员</div>
							<div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
								<select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedCoder"
										ng-options="coder.name group by coder.productModel.productName for coder in allCoders" ng-change="coderChoose()">
									<option value="">--请选择--</option>
								</select>
							</div>
							<div style="float:left;height:28px;width:1%;border:none;"></div>
							<div style="float:left;height:28px;width:auto;border:none;text-align:left;line-height:28px;" ng-repeat="addedCoder in addedCoders">
								<button type="button" class="close" style="line-height:28px;" ng-click="delCoders($index)">
									&times;
								</button>
								{{addedCoder.name}}
							</div>
						</div>

						<div style="float:left;height:28px;width:100%;border:0px solid #999;">
							<div style="float:left;height:28px;width:8%;border:none;text-align:left;line-height:28px;font-weight:900;">测试人员</div>
							<div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
								<select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedTester"
										ng-options="tester.name group by tester.productModel.productName for tester in allTesters" ng-change="testerChoose()">
									<option value="">--请选择--</option>
								</select>
							</div>
							<div style="float:left;height:28px;width:1%;border:none;"></div>
							<div style="float:left;height:28px;width:auto;border:0px solid #999;text-align:left;line-height:28px;" ng-repeat="addedTester in addedTesters">
								<button type="button" class="close" style="line-height:28px;" ng-click="delTesters($index)">
									&times;
								</button>
								{{addedTester.name}}
							</div>
						</div>

						<div style="float:left;height:28px;width:100%;border:0px solid #999;">
							<div style="float:left;height:28px;width:8%;border:none;text-align:left;line-height:28px;font-weight:900;">部署经理</div>
							<div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
								<select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedDM" ng-options="dm.name for dm in alldms">
									<option value="">--请选择--</option>
								</select>
							</div>
							<div style="float:left;height:28px;width:1%;border:none;"></div>
							<div style="float:left;height:28px;width:auto;border:none;text-align:left;line-height:28px;">
								{{selectedDM.name}}
							</div>
						</div>
					</div>
				</div>

				<div class = "addressMainDiv">
					<div class = "addressNameDiv">
						代码仓库
					</div>
					<div style="float:left;height:40px;width:8%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
					<div class="ProductForAddressDiv">
						<select class="productForAddressSelect" ng-model="selectedProBranch"
								ng-options="pro.productName for pro in addedPros" ng-change="proBranchChoose()">
							<option value="">---请选择---</option>
						</select>
						<select class="productForAddressSelect" ng-model="selectedCodeType"
								ng-options="codeType for codeType in codeTypes" ng-change="proBranchChoose()">
							<option value="">---请选择---</option>
						</select>
					</div>
					<div class="addressDiv">
						<input type="text" ng-model="subBranchInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入代码分支地址" />
					</div>
					<div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
					<div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
						<a>
							<button type="button" ng-show="isNew" ng-click="saveBranchInfoPerPro()" ng-disabled="isDisabled" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								保存
							</button>
							<button type="button" ng-show="!isNew" ng-click="saveBranchInfoPerPro()" ng-disabled="isDisabled" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								修改
							</button>
						</a>
					</div>
				</div>

				<div class = "addressMainOtherDiv">
					<div class = "addressNameDiv">
						Nexus仓库地址
					</div>
					<div style="float:left;height:40px;width:8%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
					<div class="ProductForAddressOtherDiv">
						<select name="" style="height:26px;width:90%;border-radius:4px;" ng-model="selectedProNexus"
								ng-options="pro.productName for pro in addedPros" ng-change="proNexusChoose()">
							<option value="">---请选择---</option>
						</select>
					</div>
					<div class="addressDiv">
						<input type="text" ng-model="subNexusInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入Nexus仓库地址" />
					</div>
					<div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
					<div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
						<a>
							<button type="button" ng-show="isNew" ng-click="saveNexusInfoPerPro()" ng-disabled="isDisabled1" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								保存
							</button>
							<button type="button" ng-show="!isNew" ng-click="saveNexusInfoPerPro()" ng-disabled="isDisabled1" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								修改
							</button>
						</a>
					</div>
				</div>

				<div class = "addressMainOtherDiv">
					<div class = "addressNameDiv">
						Harbor镜像仓库地址
					</div>
					<div style="float:left;height:40px;width:8%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
					<div class="ProductForAddressOtherDiv">
						<select name="" style="height:26px;width:90%;border-radius:4px;" ng-model="selectedProHarbor"
								ng-options="pro.productName for pro in addedPros" ng-change="proHarborChoose()">
							<option value="">---请选择---</option>
						</select>
					</div>
					<div class="addressDiv">
						<input type="text" ng-model="subHarborInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入Harbor镜像仓库地址" />
					</div>
					<div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
					<div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
						<a>
							<button type="button" ng-show="isNew" ng-click="saveHarborInfoPerPro()" ng-disabled="isDisabled2" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								保存
							</button>
							<button type="button" ng-show="!isNew" ng-click="saveHarborInfoPerPro()" ng-disabled="isDisabled2" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								修改
							</button>
						</a>
					</div>
				</div>

				<div class = "addressMainDiv">
					<div class = "addressNameDiv">
						日常集成jenkins地址
					</div>
					<div style="float:left;height:60px;width:8%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
					<div class="ProductForAddressDiv">
						<select class="productForAddressSelect" ng-model="selectedProDJenkins"
								ng-options="pro.productName for pro in addedPros" ng-change="proDJenkinsChoose()">
							<option value="">---请选择---</option>
						</select>
						<select class="productForAddressSelect" ng-model="selectedJenkinsDailyType"
								ng-options="jenkinsType for jenkinsType in jenkinsTypes" ng-change="proDJenkinsChoose()">
							<option value="">---请选择---</option>
						</select>
					</div>
					<div class="addressDiv">
						<input type="text" ng-model="subDJenkinsInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入日常集成jenkins地址" />
					</div>
					<div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
					<div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
						<a>
							<button type="button" ng-show="isNew" ng-click="saveDJenkinsInfoPerPro()" ng-disabled="isDisabled3" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								保存
							</button>
							<button type="button" ng-show="!isNew" ng-click="saveDJenkinsInfoPerPro()" ng-disabled="isDisabled3" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								修改
							</button>
						</a>
					</div>
				</div>

				<div class = "addressMainDiv">
					<div class = "addressNameDiv">
						版本测试jenkins地址
					</div>
					<div style="float:left;height:40px;width:8%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
					<div class="ProductForAddressDiv">
						<select class="productForAddressSelect" ng-model="selectedProVJenkins"
								ng-options="pro.productName for pro in addedPros" ng-change="proVJenkinsChoose()">
							<option value="">---请选择---</option>
						</select>
						<select class="productForAddressSelect" ng-model="selectedJenkinsType"
								ng-options="jenkinsType for jenkinsType in jenkinsTypes" ng-change="proVJenkinsChoose()">
							<option value="">---请选择---</option>
						</select>
					</div>
					<div class="addressDiv">
						<input type="text" ng-model="subVJenkinsInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入版本测试jenkins地址" />
					</div>
					<div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
					<div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
						<a>
							<button type="button" ng-show="isNew" ng-click="saveVJenkinsInfoPerPro()" ng-disabled="isDisabled4" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								保存
							</button>
							<button type="button" ng-show="!isNew" ng-click="saveVJenkinsInfoPerPro()" ng-disabled="isDisabled4" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								修改
							</button>
						</a>
					</div>
				</div>

				<div class = "addressMainOtherDiv">
					<div class = "addressNameDiv">
						Testrail地址
					</div>
					<div style="float:left;height:40px;width:8%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
					<div class="ProductForAddressOtherDiv">
						<select name="" style="height:26px;width:90%;border-radius:4px;" ng-model="selectedProTR"
								ng-options="pro.productName for pro in addedPros" ng-change="proTRChoose()">
							<option value="">---请选择---</option>
						</select>
					</div>
					<div class="addressDiv">
						<input type="text" ng-model="subTRInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入Testrail地址" />
					</div>
					<div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
					<div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
						<a>
							<button type="button" ng-show="isNew" ng-click="saveTRInfoPerPro()" ng-disabled="isDisabled5" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								保存
							</button>
							<button type="button" ng-show="!isNew" ng-click="saveTRInfoPerPro()" ng-disabled="isDisabled5" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
								修改
							</button>
						</a>
					</div>
				</div>

				<div style="height:10px;width:1097.88px;border:0px solid #999;"></div>
				<div style="text-align:center;" ng-show="isNew">
					<a>
						<button type="submit" ng-click="saveProjectInfo()" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:70px;height:35px;">
							保存
						</button>
					</a>
				</div>
				<div style="text-align:center;" ng-show="!isNew">
					<a>
						<button type="submit" ng-click="saveProjectInfo()" style="background:#00B47A;color:#FFF;border-radius:4px;border:none;width:70px;height:35px;">
							更新
						</button>
					</a>
				</div>
		    </div>
			<div id="step-22" class="content" style="width:1097.88px;display:none;border:none;">
				<!--<h2 class="StepTitle">研发过程</h2>-->
				<div style="width:1097.88px;height:810px;border:none;">
					<ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
					  <li role="presentation" class="active"><a href="#tab_content11" id="home-tab11" role="tab" data-toggle="tab" aria-expanded="true">项目需求</a>
					  </li>
					  <li role="presentation" class=""><a href="#tab_content22" role="tab" id="profile-tab22" data-toggle="tab" aria-expanded="false">代码审计</a>
					  </li>
					  <li role="presentation" class=""><a href="#tab_content33" role="tab" id="profile-tab33" data-toggle="tab" aria-expanded="false">构建信息</a>
					  </li>
					</ul>
					<div id="myTabContent" class="tab-content">
						<div role="tabpanel" class="tab-pane fade active in" id="tab_content11" aria-labelledby="home-tab">
							<div style="float:left;width:1097.88px;height:30px;border:none;">
								<div style="float:left;width:10px;height:30px;border:none;"></div>
								<div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
									<select name="" style="height:26px;width:85%;border-radius:4px;" ng-model="selectedPro2" ng-init="selectedPro2 = pros[0]"
											ng-options="pro.productName for pro in pros" ng-change="proChange2(1)">
										<option value="">请选择产品</option>
									</select>
								</div>
								<div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
									<select name="" style="height:26px;width:85%;border-radius:4px;" ng-model="selectedOper2" ng-init="selectedOper2 = opers[0]"
											ng-options="oper.name for oper in opers" ng-change="operChange2(1)">
										<option value="">请选择处理人</option>
									</select>
								</div>
								<div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
									<select name="" style="height:26px;width:85%;border-radius:4px;" ng-init="selectedStatus2 = status[0]"
											ng-model="selectedStatus2" ng-options="substatus for substatus in status" ng-change="statusChange2()">
									</select>
								</div>
								<div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
									<select name="" style="height:26px;width:85%;border-radius:4px;" ng-init="selectedKind2 = kinds[0]"
											ng-model="selectedKind2" ng-options="subkind for subkind in kinds" ng-change="statusChange2()">
									</select>
								</div>
								<div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
									<select name="" style="height:26px;width:85%;border-radius:4px;" ng-init="selectedPriority2 = prioritys[0]"
											ng-model="selectedPriority2" ng-options="priority for priority in prioritys" ng-change="statusChange2()">
									</select>
								</div>
								<div style="float:left;height:28px;width:25%;border:none;"></div>
								<div style="float:left;height:28px;width:15%;border:none;text-align:center;line-height:28px;">
									<input name="" type="text" placeholder="请输入关键字搜索" style="height:26px;width:100%;border-radius:4px;" ng-model="keyword" />
								</div>
								<div style="float:left;height:28px;width:3%;border:none;text-align:left;margin-top:-2px;">
									<a href="" ng-click="statusChange2()"><img style="height:28px;" src="../images/search.png" /></a>
								</div>
							</div>
							<div style="float:left;width:1097.88px;height:30px;border:none;line-height:28px;">
								<div style="float:left;width:15px;height:30px;border:none;"></div>
								<label style="float:left;font-size:15px;">TODO ：</label>
								<div style="float:left;width:5%;height:30px;border:none;font-size:15px;">{{todoRequirementNum}}</div>
								<label style="float:left;font-size:15px;">DOING ：</label>
								<div style="float:left;width:5%;height:30px;border:none;font-size:15px;">{{doingRequirementNum}}</div>
								<label style="float:left;font-size:15px;">DONE ：</label>
								<div style="float:left;width:5%;height:30px;border:none;font-size:15px;">{{doneRequirementNum}}</div>
							</div>
							<div style="float:left;width:1097.88px;height:740px;border:none;">
								<table style="float:left;;width:100%;height:auto;table-layout:fixed;">
									<thead>
										<tr style="background-color:#58C59B;height:40px;border-bottom:1px solid #F2F2F2;">
											<th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">产品名称</th>
											<th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">编号</th>
											<th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">类型优先级</th>
											<th style="text-align:center;width:50%;font-size:14px;border-right:1px solid #FFFFFF;">标题</th>
											<th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">处理人</th>
											<th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">状态</th>
										</tr>
									</thead>
									<tbody>
										<tr style="background-color:#F5FAFE;height:30px;" ng-repeat="requirement in requirements">
											<th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productName}}</th>
											<th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productNumber}}</th>
											<th style="text-align:center;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.level}}</th>
											<th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productTitle}}</th>
											<th style="text-align:center;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.personName}}</th>
											<th style="text-align:center;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productStatus}}</th>
										</tr>
									</tbody>
								</table>

								<pagination total-items="totalItems" ng-model="page" ng-change="operChange2(page)" previous-text="上一页"
											next-text="下一页" items-per-page="count" boundary-links="true" force-ellipses="true"
											class="pagination-sm" max-size="currentPageNum">
								</pagination>

							</div>
						</div>
						<div role="tabpanel" class="tab-pane fade" id="tab_content22" aria-labelledby="profile-tab">
							<div style="float:left;width:1097.88px;height:30px;border:none;">
								<div style="float:left;width:20px;height:30px;border:none;"></div>
								<div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
									<select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedPro21" ng-init="selectedPro21 = pros[0]"
											ng-options="pro1.productName for pro1 in pros" ng-change="pro1Change2()">
										<option value="">请选择产品</option>
									</select>
								</div>
								<div style="float:left;height:28px;width:6%;border:none;text-align:center;line-height:28px;"></div>
								<div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
									<select name="" style="height:26px;width:100%;border-radius:4px;" ng-init="selectedTimedimension2 = timedimensions[0]"
											ng-model="selectedTimedimension2" ng-options="timedimension for timedimension in timedimensions" ng-change="timedimensionChange2()">
									</select>
								</div>
							</div>
							<!--新增需求和代码量统计柱状图-->
							<div>
								<div style="float:left;height:40px;width:100%;border:0px solid #999;">
									<div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
									<div style="float:left;height:40px;width:98%;border:0px solid #999;font-size:20px;line-height:40px">需求解决数</div>
								</div>
								<canvas id="requirementdone" width="1000" height="320">
									browser doesn't support html5
								</canvas>

								<div style="float:left;height:40px;width:100%;border:0px solid #999;">
									<div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
									<div style="float:left;height:40px;width:98%;border:0px solid #999;font-size:20px;line-height:40px">代码提交量</div>
								</div>
								<canvas id="codenumsubmit" width="1000" height="320">
									browser doesn't support html5
								</canvas>
								<div style="float:left;height:40px;width:100%;border:0px solid #999;">
									<div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
									<div style="float:left;height:40px;width:98%;border:0px solid #999;font-size:20px;line-height:40px">需求处理时间</div>
								</div>
								<canvas id="costtime" width="1000" height="320">
									browser doesn't support html5
								</canvas>

							</div>
						</div>
						<div role="tabpanel" class="tab-pane fade" id="tab_content33" aria-labelledby="profile-tab">
							<div style="float:left;width:1097.88px;height:30px;border:none;font-size:20px;font-weight:bold;">
								开发持续集成任务
							</div>
							<div style="float:left;width:100%;height:auto;" data-ng-repeat="record in latestBuildRecords">
								<div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										构建信息
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">{{record.productKey}}</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">{{record.date}}</div>
									</div>
								</div>
								<div style="float:left;width:10%;height:150px;border:none;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Checkout
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;" ng-if="record.isCheckOut != null && record.isCheckOut">成功</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;" ng-if="record.isCheckOut == null || !record.isCheckOut">失败</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>

								<div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Build
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">{{record.isBuild}}</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>
								<div style="float:left;width:16%;height:150px;border:none;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Static Code Analysis
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">高优先级BUG {{record.highPriorityNum}}个</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">中优先级BUG {{record.normalPriorityNum}}个</div>
									</div>
								</div>
								<div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Coverage report
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">{{record.coverageReport}}</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>

			</div>
		    <div id="step-33" class="content" style="width:1097.88px;display:none;border:none;">
				<!--<h2 class="StepTitle">在线测试阶段</h2>-->
				<div style="width:1097.88px;height:830px;border:none;">
					<ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
					  <li role="presentation" class="active"><a href="#tab_content1" id="home-tab" role="tab" data-toggle="tab" aria-expanded="true">测试结果</a>
					  </li>
					  <li role="presentation" class=""><a href="#tab_content2" role="tab" id="profile-tab" data-toggle="tab" aria-expanded="false">版本测试</a>
					  </li>
					</ul>
					<div id="myTabContent" class="tab-content">
						<div role="tabpanel" class="tab-pane fade active in" id="tab_content1" aria-labelledby="home-tab">
							<div style="float:left;width:1097.88px;height:30px;border:0px solid #999;">
								<div style="float:left;width:20px;height:30px;border:0px solid #999;"></div>
								<div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
									<select style="height:26px;width:100%;" ng-model="selectedPro3" ng-init="selectedPro3 = pros[0]"
											ng-options="pro.productName for pro in pros" ng-change="proChange3()">
										<option value="">请选择产品</option>
									</select>
								</div>
								<div style="float:left;height:28px;width:6%;border:0px solid #999;text-align:center;line-height:28px;"></div>
								<div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
									<select name="" style="height:26px;width:100%;" ng-init="selectedTimedimension3 = timedimensions[2]"
											ng-model="selectedTimedimension3" ng-options="timedimension for timedimension in timedimensions"
												ng-change="timedimensionChange3()">
									</select>
								</div>
							</div>
							<!--新增用例数柱状图-->
							<div>
								<div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
								<div style="float:left;height:40px;width:45%;border:0px solid #999;font-size:20px;line-height:40px">执行用例数</div>
								<div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
								<div style="float:left;height:40px;width:50%;border:0px solid #999;font-size:20px;line-height:40px">新增BUG数</div>
								<canvas id="donetestcases" width="500" height="320">
									browser doesn't support html5
								</canvas>
								<canvas id="addbugs" width="500" height="320">
									browser doesn't support html5
								</canvas>
								<div style="float:left;height:40px;width:100%;border:0px solid #999;">
									<div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
									<div style="float:left;height:40px;width:88%;border:0px solid #999;font-size:20px;line-height:40px">有效BUG数</div>
								</div>
								<canvas id="validbugs" width="500" height="320">
									browser doesn't support html5
								</canvas>
							</div>
						</div>

						<div role="tabpanel" class="tab-pane fade" id="tab_content2" aria-labelledby="profile-tab">
							<!--增删改按钮-->
							<div class="row fontawesome-icon-list">
								<div class="fa-hover col-md-3 col-sm-4 col-xs-12" style="width:60px">
									<a ng-click="addTestStartRecord()">
										<i class="fa fa-plus">
										</i>
									</a>
								</div>
								<div class="fa-hover col-md-3 col-sm-4 col-xs-12" style="width:60px">
									<a ng-click="refreshTestStartRecords()">
										<i class="fa fa-refresh">
										</i>
									</a>
								</div>
							</div>
							<!--表格-->
							<div class="table-responsive">
								<table class="table table-striped jambo_table bulk_action">
									<thead>
									<tr class="headings" style="background:#00B47A">
										<th class="column-title" style="display: table-cell;width:6%;">产品名称</th>
										<th class="column-title" style="display: table-cell;width:10%;">提测版本</th>
										<th class="column-title" style="display: table-cell;width:5%;">提测人</th>
										<th class="column-title" style="display: table-cell;width:6%;">提测时间</th>
										<th class="column-title" style="display: table-cell;width:10%;">提测分支</th>
										<th class="column-title" style="display: table-cell;width:5%;">测试人员</th>
										<th class="column-title" style="display: table-cell;width:6%;">报告时间</th>
										<th class="column-title" style="display: table-cell;width:8%;">冒烟测试通过率</th>
										<th class="column-title" style="display: table-cell;width:4%;">退回次数</th>
										<th class="column-title" style="display: table-cell;width:8%;">配置信息</th>
										<th class="column-title" style="display: table-cell;width:5%;">操作</th>
									</tr>
									</thead>

									<tbody>
									<tr class="even pointer" ng-repeat="record in testStartRecords">
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.productionName}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.versionNum}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.testStarterName}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.loanDate}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.branchName}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.testerName}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.loanDate1}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.smokeTestPassRate}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.returnNum}}</td>
										<td class=" " style="line-height:50px;">{{record.iterationTestInfo.configInfo}}</td>
										<td class=" ">
											<a ng-click="buildOnJenkins($index)">
												<button type="button" value=""
														style="background:#00B47A;color:#FFF;border-radius:6px;border:none;">
													构建
												</button>
											</a>
											<a ng-click="uploadTarFile($index)">
												<button type="button" value=""
														style="background:#00B47A;color:#FFF;border-radius:6px;border:none;">
													归档
												</button>
											</a>
											<a ng-click="deleteInfo($index)">
												<button type="button" value=""
														style="background:#00B47A;color:#FFF;border-radius:6px;border:none;">
													删除
												</button>
											</a>
										</td>
									</tr>
									</tbody>
								</table>
							</div>
							<div style="float:left;width:100%;height:150px;border:none;" ng-repeat="record in buildRecords">
								<div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										构建信息
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.productionName}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.buildDate}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.buildTime}}
										</div>
									</div>
								</div>
								<div style="float:left;width:10%;height:150px;border:none;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										CheckOut
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.isCheckout}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>

								<div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Build
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.isBuild}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>
								<div style="float:left;width:16%;height:150px;border:none;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Static Code Analysis
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											高优先级BUG {{record.highBugNum}}个
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											中优先级BUG {{record.normalBugNum}}个
										</div>
									</div>
								</div>

								<div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Caverage report
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.coverageReport}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>
								<div style="float:left;width:10%;height:150px;border:none;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Generate tar file
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.isGenerateTarFile}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>

								<div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Upload to Test Lib
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.isUploadToTestLib}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>
								<div style="float:left;width:10%;height:150px;border:none;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Deploy Test Environment
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.isDeployTestEnvironment}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>
								<div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
									<div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
										Upload to Stable Lib
									</div>
									<div style="float:left;width:100%;height:5px;border:none;"></div>
									<div style="float:left;width:5%;height:100%;border:none;"></div>
									<div style="float:left;width:90%;height:60px;border:1px solid #999;background:#58C59B;border-radius:6px;">
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
											{{record.isUploadToStableLib}}
										</div>
										<div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div id="step-44" class="content" style="width:1097.88px;display:none;border:none;">
				<!--<h2 class="StepTitle">上线支付</h2>-->
				<div style="width:1097.88px;height:830px;border:none;">
					<ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
						<li role="presentation" class="active"><a href="#tab_content111" id="home-tab111" role="tab" data-toggle="tab" aria-expanded="true">可选部署包</a>
						</li>
						<li role="presentation" class=""><a href="#tab_content222" role="tab" id="profile-tab222" data-toggle="tab" aria-expanded="false">历史记录</a>
						</li>
					</ul>
					<div id="myTabContent" class="tab-content" >
						<div role="tabpanel" class="tab-pane fade active in" id="tab_content111" aria-labelledby="home-tab">
							<div style="float:left;width:1097.88px;height:800px;border:none;">
								<!--版本信息表格-->
								<div style="float:left;width:100%;height:30px;border:none;"></div>
								<div style="float:left;width:100%;height:560px;border:none;">
									<table style="float:left;;width:100%;height:auto;">
										<thead>
										<tr style="background-color:#58C59B;height:50px;">
											<th style="text-align:center;width:15%;font-size:14px;">产品名称</th>
											<th style="text-align:center;width:85%;font-size:14px;">版本号</th>
										</tr>
										</thead>
										<tbody>
										<tr style="background-color:#F5FAFE;height:40px;" ng-repeat="pro in prosInProject track by $index">
											<td style="text-align:left;width:15%;font-size:14px;">{{pro.productName}}</td>
											<td style="width: 85%">
												<ul ng-if="pro.showList != null && pro.showList.length > 0"  style="width: 100%">
													<li style="list-style-type:none;width: 25%" ng-repeat="show in pro.showList">
														<input type="radio" style="float:left;margin-top:9px" ng-value=true name="radio-btn-{{$parent.$index}}" ng-model="show.state" for="radio-btn-{{$parent.$index}}"/>
														<div style="float:left;line-height:30px;">&nbsp;{{show.version}}&nbsp;&nbsp;&nbsp;&nbsp;</div>
													</li>
												</ul>
											</td>
										</tr>
										</tbody>
									</table>
									<div style="float:left;width:100%;height:15px;border:none;"></div>
									<div style="float:left;width:100%;height:35px;border:none;">
										<div style="float:left;width:90px;height:35px;border:none;">
											<a href="#" ng-click="download()">
												<button type="button" style="font-size:14px;;width:70px;height:35px;background:#00B47A;color:#FFF;border-radius:4px;border:none;">
													下&nbsp;&nbsp;载
												</button>
											</a>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div role="tabpanel" class="tab-pane fade" id="tab_content222" aria-labelledby="profile-tab">
							<div style="float:left;width:1097.88px;height:800px;border:none;">
								<!--历史下载记录信息表格-->
								<div style="float:left;width:100%;height:30px;border:none;"></div>
								<div style="float:left;width:100%;height:560px;border:none;">
									<table style="float:left;;width:100%;height:auto;">
										<thead>
											<tr style="background-color:#58C59B;height:50px;">
												<th style="text-align:center;width:4%;font-size:14px;">序号</th>
												<th style="text-align:center;width:20%;font-size:14px;">下载时间</th>
												<th style="text-align:center;width:76%;font-size:14px;">产品版本号</th>
											</tr>
										</thead>
										<tbody>
											<tr style="background-color:#F5FAFE;height:40px;" ng-repeat="record in downloadHistoryRecords" ng-if="downloadHistoryRecords.length > 0">
												<td style="text-align:center;width:4%;font-size:14px;">{{$index + 1}}</td>
												<td style="text-align:center;width:20%;font-size:14px;">{{record.downloadedTime}}</td>
												<td style="width:76%;font-size:14px;">
													<ul style="width:100%;" class="clearfix">
														<li style="list-style-type:none;width: 25%;margin-right: 20px;float:left;" ng-repeat="prosversion in record.proVersionInfoList"  >
															{{prosversion}}
														</li>
													</ul>
												</td>
											</tr>
											<tr ng-if="downloadHistoryRecords.length == 0">
												<td>
													<div style="text-align:center;font-size:14px;">未找到相应数据</div>
												</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div id="step-55" class="content" style="display:none">
				<!--<h2 class="StepTitle">验收环节</h2>-->
				<div style="width:1097.88px;height:830px;border:none;">
					<div style="float:left;width:100%;height:20px;border:none;"></div>
					<div style="float:left;width:100%;height:800px;border:none;">
						<table style="float:left;;width:100%;height:auto;">
							<thead>
							<tr style="background-color:#58C59B;height:50px;border-bottom:1px solid #F2F2F2;">
								<th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">文档名称</th>
								<th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">版本号</th>
								<th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">状态</th>
								<th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">更新日期</th>
								<th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">操作</th>
							</tr>
							</thead>
							<tbody>
							<tr style="background-color:#FFFFFF;height:40px;" data-ng-repeat="item in list">
								<th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;">{{item.type | AcceptanceType}}</th>
								<th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;" ng-if="item.version == null">{{item.version}}</th>
								<th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;" ng-if="item.version != null">V{{item.version}}</th>
								<th style="text-align:center;border-right:1px solid #FFFFFF;height: 22px;width: 22px" ng-if="item.status == true">
									<img src="../images/icon_right.png" />
								</th>
								<th style="text-align:center;border-right:1px solid #FFFFFF;height: 22px;width: 22px" ng-if="item.status == false">
									<img src="../images/icon_wrong.png" />
								</th>
								<th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;">{{item.lastUpdate}}</th>
								<th style="text-align:center;border-right:1px solid #FFFFFF;">
									<a ng-click="upload(item)"><img src="../images/icon_sc.png" style="width:22px;height:16px;" /></a>
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<a ng-click="downloadDocument(item)"><img src="../images/icon_xz.png" style="width:22px;height:16px;"/></a>
								</th>
							</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
  </body>
</html>

<!--添加版本测试页面的对话框dialog-->
<script type="text/ng-template" id="myModalContent.html">

	<div class="modal-header" style="text-align:center;background-color:#EEEEEE;">
		<h3>新增产品提测信息</h3>
	</div>
	<div class="modal-body" style="background-color:#EEEEEE;">
		<div class="container" style="width:80%;">
			<form class="form-horizontal">
				<div class="form-group">
					<lable class="control-label">产品名称:</lable>
					<!--<input type="text" class="form-control" placeholder="请输入产品名称" style="border-radius:4px;" ng-model="newTestStartRecord.productionName" required="required"/>-->
					<select class="form-control" style="border-radius:4px;" ng-model="selectedProduct"
							ng-options="pro.productName for pro in pros" ng-change="">
						<option value="">---请选择产品---</option>
					</select>
				</div>
				<div class="form-group">
					<lable class="control-label">提测版本:</lable>
					<input type="text" class="form-control" placeholder="请输入版本信息" style="border-radius:4px;" ng-model="newTestStartRecord.versionNum" />
				</div>
				<div class="form-group">
					<lable class="control-label">提测人:</lable>
					<!--<input type="text" class="form-control" placeholder="请输入提测人姓名" style="border-radius:4px;" ng-model="newTestStartRecord.testStarterName" />-->
					<select class="form-control" style="border-radius:4px;" ng-model="selectedTestStarter"
							ng-options="oper.name for oper in opers" ng-change="">
						<option value="">---请选择提测人---</option>
					</select>
				</div>
				<div class="form-group">
					<lable class="control-label">提测时间:</lable>
					<div class="input-group date form_datatime">
						<input type="text" class="form-control" name="loanDate" datepicker-popup="{{format}}" ng-model="newTestStartRecord.loanDate" is-open="loanDate" datepicker-options="dateOptions" close-text="Close" readOnly="true" />
						<span class="input-group-btn">
							<button type="button" class="btn btn-default" ng-click="openDatepicker($event,1)">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
						</span>
					</div>
				</div>
				<div class="form-group">
					<lable class="control-label">提测分支:</lable>
					<input type="text" class="form-control" placeholder="请输入分支名称" style="border-radius:4px;" ng-model="newTestStartRecord.branchName" />
				</div>
				<div class="form-group">
					<lable class="control-label">测试负责人:</lable>
					<!--<input type="text" class="form-control" placeholder="请输入测试负责人姓名" style="border-radius:4px;" ng-model="newTestStartRecord.testerName" />-->
					<select class="form-control" style="border-radius:4px;" ng-model="selectedTester"
							ng-options="tester.name for tester in operators" ng-change="">
						<option value="">---请选择测试负责人---</option>
					</select>
				</div>
				<div class="form-group">
					<lable class="control-label">报告时间:</lable>
					<div class="input-group date form_datatime">
						<input type="text" class="form-control" name="loanDate1" datepicker-popup="{{format}}" ng-model="newTestStartRecord.loanDate1" is-open="loanDate1" datepicker-options="dateOptions" close-text="Close" readOnly="true" />
						<span class="input-group-btn">
							<button type="button" class="btn btn-default" ng-click="openDatepicker1($event,1)">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
						</span>
					</div>
				</div>
				<div class="form-group">
					<lable class="control-label">冒烟测试通过率:</lable>
					<input type="text" class="form-control" placeholder="10%" style="border-radius:4px;" ng-model="newTestStartRecord.smokeTestPassRate" />
				</div>
				<div class="form-group">
					<lable class="control-label">退回次数:</lable>
					<input type="text" class="form-control" placeholder="请输入退回次数" style="border-radius:4px;" ng-model="newTestStartRecord.returnNum" />
				</div>
				<div class="form-group">
					<lable class="control-label">配置信息:</lable>
					<input type="text" class="form-control" placeholder="请输入配置信息" style="border-radius:4px;" ng-model="newTestStartRecord.configInfo" />
				</div>
			</form>
		</div>
	</div>
	<div class="modal-footer" style="text-align:center;background-color:#EEEEEE;">
		<button class="btn btn-primary" ng-click="ok()">保存</button>
		<button class="btn btn-warning" ng-click="cancel()">取消</button>
	</div>
</script>

<script type="text/ng-template" id="confirm.html">
	<div class="m-c">
		<div class="modal-body" style="background-color:#eee;">
			<h4>{{info}}</h4>
		</div>
		<div class="modal-footer" style="text-align:center;background-color:#eee;height:50px;">
			<button class="btn btn-primary" style="margin-top:-10px;" ng-show="result" ng-click="ok()">确定</button>
			<button class="btn btn-warning" style="margin-top:-10px;" ng-show="!result" ng-click="ok()">确定</button>
		</div>
	</div>
</script>

<script type="text/ng-template" id="upload.html">

	<div class="modal-header" style="text-align:center;background-color:#EEEEEE;">
		<h3>上传文档</h3>
	</div>
	<div class="modal-body" style="background-color:#EEEEEE;">
		<div class="container" style="width:80%;">
			<form class="form-horizontal">
				<div class="modal-body-sm ">
					<div class="form-group line-div mt-24">
						<label class="line-lable f-l ml-30"><span class="ml-10">版本号</span></label>
						<div class="line-text-lg ml-10 f-l" ng-if="item.version == null || item.version == undefined">
							V1
						</div>
						<div class="line-text-lg ml-10 f-l" ng-if="item.version != null && item.version != undefined">
							V{{item.version + 1}}
						</div>
					</div>
					<div class="form-group line-div mt-16">
						<div class="ml-30 clearfix">
							<label class="line-lable f-l"><span class="f-right ">文件名</span></label>
							<input id="upImportFileIdShow" type="text" class="form-control f-l ml-10" style="width: 390px;">
							<input type="file" style="display: none;" id="upImportFileId" name="upImportFileId" contentEditable="false" accept="textml" onchange="filechange(this);" />
							<span class="input-group-addon f-l" style="width: 80px;height: 34px;white-space: nowrap;cursor: pointer" onclick="upImportFileId.click()">选择文件</span>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="modal-footer" style="text-align:center;background-color:#EEEEEE;">
		<button class="btn btn-primary" ng-click="upload()">上传</button>
		<button class="btn btn-warning" ng-click="cancel()">取消</button>
	</div>
</script>
<script>
    function filechange(obj){
        upImportFileIdShow.value = obj.value;
    }
</script>